package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wanghang
 * @version 1.0
 * @date 2022/7/29 13:58
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RepoDashStatisticsVo {

    /**
     * 代码库数量
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long repo = 0L;

    /**
     * fork数量
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long fork = 0L;

    /**
     * star数量
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long star = 0L;

    /**
     * 变更请求数量
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long changeRequest = 0L;

    /**
     * 里程碑数量
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long milepost = 0L;

    /**
     * 里程碑数量
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long keysCount = 0L;

}